package com.ruoyi.eamp.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用车对象 eamp_car_use
 *
 * @author ruoyi
 * @date 2024-08-12
 */
public class EampCarUse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆id */
    private Long useId;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date useBeginTime;

    /** 归还时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "归还时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date useEndTime;

    /** 始发地 */
    @Excel(name = "始发地")
    private String useParture;

    /** 目的地 */
    @Excel(name = "目的地")
    private String useDestination;

    /** 司机 */
    @Excel(name = "司机")
    private Long useApplicant;

    /** 备注 */
    @Excel(name = "备注")
    private String useRemark;

    /** 绑定外键id */
    @Excel(name = "绑定外键id")
    private Long carId;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date useApplicationTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date useReturnTime;

    /** 使用状态 */
    @Excel(name = "使用状态")
    private Long useShip;

    public Long getUseShip() {
        return useShip;
    }

    public void setUseShip(Long useShip) {
        this.useShip = useShip;
    }

    public void setUseId(Long useId)
    {
        this.useId = useId;
    }

    public Long getUseId()
    {
        return useId;
    }
    public void setUseBeginTime(Date useBeginTime)
    {
        this.useBeginTime = useBeginTime;
    }

    public Date getUseBeginTime()
    {
        return useBeginTime;
    }
    public void setUseEndTime(Date useEndTime)
    {
        this.useEndTime = useEndTime;
    }

    public Date getUseEndTime()
    {
        return useEndTime;
    }
    public void setUseParture(String useParture)
    {
        this.useParture = useParture;
    }

    public String getUseParture()
    {
        return useParture;
    }
    public void setUseDestination(String useDestination)
    {
        this.useDestination = useDestination;
    }

    public String getUseDestination()
    {
        return useDestination;
    }
    public void setUseApplicant(Long useApplicant)
    {
        this.useApplicant = useApplicant;
    }

    public Long getUseApplicant()
    {
        return useApplicant;
    }
    public void setUseRemark(String useRemark)
    {
        this.useRemark = useRemark;
    }

    public String getUseRemark()
    {
        return useRemark;
    }
    public void setCarId(Long carId)
    {
        this.carId = carId;
    }

    public Long getCarId()
    {
        return carId;
    }
    public void setUseApplicationTime(Date useApplicationTime)
    {
        this.useApplicationTime = useApplicationTime;
    }

    public Date getUseApplicationTime()
    {
        return useApplicationTime;
    }
    public void setUseReturnTime(Date useReturnTime)
    {
        this.useReturnTime = useReturnTime;
    }

    public Date getUseReturnTime()
    {
        return useReturnTime;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("useId", getUseId())
                .append("useBeginTime", getUseBeginTime())
                .append("useEndTime", getUseEndTime())
                .append("useParture", getUseParture())
                .append("useDestination", getUseDestination())
                .append("useApplicant", getUseApplicant())
                .append("useRemark", getUseRemark())
                .append("carId", getCarId())
                .append("useApplicationTime", getUseApplicationTime())
                .append("useReturnTime", getUseReturnTime())
                .toString();
    }
}
